package com.gym.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gym.dao.CourseMapper;
import com.gym.pojo.Course;
import com.gym.service.CourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper,Course> implements CourseService{

    @Resource
    CourseMapper courseMapper;

    @Override
    public Course queryBycourseName(String courseName) {
        return courseMapper.queryBycourseName(courseName);
    }
}
